package com.xhapi.service;

import com.xhapi.pojo.dto.ChoiceQuestionByAiDTO;
import com.xhapi.pojo.entity.ChoiceQuestionsByAi;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhapi.pojo.vo.ChoiceQuestionByAiVO;

import java.util.List;

/**
 * <p>
 * 由知识库提供的单选题 服务类
 * </p>
 *
 * @author 179005
 * @since 2024-06-11
 */
public interface IChoiceQuestionsByAiService extends IService<ChoiceQuestionsByAi> {

    List<ChoiceQuestionsByAi> createQA(ChoiceQuestionByAiDTO dto);

    ChoiceQuestionsByAi answer(Integer id, String answer,Integer userId);
}
